function ismobile(url_ipad,url_mobile,url_pc){
//判断是否手机或是电脑IP
	if(/AppleWebKit.*Mobile/i.test(navigator.userAgent)
	|| /Android/i.test(navigator.userAgent)
	|| /BlackBerry/i.test(navigator.userAgent)
	|| /IEMobile/i.test(navigator.userAgent)
	|| (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){
		if(/iPad/i.test(navigator.userAgent)){
			//alert("iPad平板");
			window.location.href=url_ipad
		}else{
			//alert("其他移动设备");
			//window.location.href=url_mobile
		}
	}else{
		//alert("非移动设备");
		window.location.href=url_pc
	}
	
}



